package com.zhj.mvc.service.impl;

import com.zhj.mvc.domain.Order;
import com.zhj.mvc.mapper.OrderMapper;
import com.zhj.mvc.service.OrderService;

import org.springframework.stereotype.Service;

import java.util.List;

import javax.annotation.Resource;

/**
 * 实现类
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Resource
    private OrderMapper orderMapper;

    @Override
    public List<Order> selectList() {
        Order order = new Order();
        order.setId(1L);
        return this.orderMapper.selectList(order);
    }
}
